package com.mall.book.entity.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * Created by Dizziness on 2022/3/22 9:24
 */
@Data
public class BookInfo {
    @TableId(type = IdType.ASSIGN_UUID)
    private String bookId;

    private String bookTitle;

    private float bookPrice;

    private String bookPublisher;

    private Date bookPublicationTime;

    private Integer bookVersion;

    private Integer bookTotalPage;

    private String bookLanguage;

    private String bookCover;

    private String bookProfile;

    private String bookIsbn;

    @TableField(fill = FieldFill.INSERT)
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}
